<style >

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
	
	

/* The contact form */
	
	/* Style inputs with type="text", select elements and textareas */
	input[type=text], select, textarea {
	  width: 100%; /* Full width */
	  padding: 12px; /* Some padding */ 
	  border: 1px solid #ccc; /* Gray border */
	  border-radius: 4px; /* Rounded borders */
	  margin-top: 6px; /* Add a top margin */
	  margin-bottom: 16px; /* Bottom margin */
	  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
	}

    /* Add a background color and some padding around the form */
	.form-container.span--3{
		  flex: 2;
		  width: 100%;         /* smaller than full width */
		  max-width: 100%;    /* caps width on large screens */
		  border-radius: 5px;
		  padding-top: 20px;
		  padding-bottom: 1.5rem;
		  grid-column: 3 / span 2;
		}
		
	.form-container.span--3 input[type=text],
	.form-container.span--3 select,
	.form-container.span--3 textarea {
	  color: #333;             /* text color */
	  font-family: var(--font-body);
	}
		
	/* Style the placeholder text color to black */
	input[type=text]::placeholder, select::placeholder, textarea::placeholder {
	  color: black;
	}

	/* Style the submit button with a specific background color etc */
	input[type=submit] {
	  background-color: #ecff5d;
	  color: #fc5e40;
	  padding: 12px 20px;
	  border: none;
	  border-radius: 4px;
	  cursor: pointer;
	  transition: 0.3s;
	  box-shadow: 0 0 20px #feaf75, 0 0 10px #feaf75 inset;
	}

	/* When moving the mouse over the submit button, add a darker green color */
	input[type=submit]:hover {
	  background-color: #0df6e8;
	  box-shadow: 0 0 20px #1eb9fc, 0 0 10px #1eb9fc inset;
	  color: #175fe5;
	}

	/* FROM HERE IT'S NEW LAYOUT */

	/* General */
	.main__wrapper {
	  max-width: 1135px;
	  margin: auto;
	  padding: 0rem 2rem;
	  /* text-align: justify;*/
	  break-inside: avoid;
	}
	/* General */

	/* Images */
	main img {
	  width: 100%;
	  margin-bottom: 0.5rem;
	  border: 1px solid var(--gray);
	  border-radius: 30px;
	}
	/* Images */

	/* Text */
	main h1 {
	  text-align: center;
	  grid-column: 1/-1;
	  margin: 1rem 0;
	  padding: 0.5rem 0;
	  border-top: 3px solid var(--gray);
	  border-bottom: 3px solid var(--gray);
	}
	main h3 {
	  margin-bottom: 1rem;
	}
	main h5 {
	  transition: 0.3s ease;
	}
	main p a {
	  display: inline;
	}
	/* Text */

	/* Modifiers */
	.span--4 {
	  grid-column: span 4;
	}

	.span--2 {
	  grid-column: span 2;
	}

	.span--3 {
	  grid-column: span 3;
	}

	.long--2 {
	  grid-row: span 2;
	}

	.long--4 {
	  grid-row: span 4;
	}

	.with-border {
	  border-top: 1px solid;
	  padding-top: 0.6rem;
	}
	/* Modifiers */

	/* Aside */
	main aside {
	  grid-column: 1/-1;
	}

	.issue {
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  color: inherit; /* keep your text color */
	  gap: 0.5rem;
	}

	aside img {
	  width: auto;
	  height: 100%;
	  max-height: 100px;
	  border: none;
	  display: block;
	}

	aside {
	  text-align: center;
	  padding: 3px 0;
	  border: solid var(--gray);
	  border-width: 2px 0;
	  text-transform: uppercase;
	  letter-spacing: 1px;
	  margin-bottom: 1.5rem;
	}

	aside > div {
	  display: flex;
	  align-items: center;
	  border: solid var(--gray);
	  border-width: 1px 0;
	}

	aside > div > a {
	  flex: 1;
	  padding: 8px;
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  color: inherit; /* keep your text color */
	  gap: 0.5rem;
	}
	
	aside > div > span {
	  flex: 1;
	  padding: 8px;
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  color: inherit; /* keep your text color */
	  gap: 0.5rem;
	}
	/* Aside */

	/* Title */
	.AMtitle.main-title {
	  text-align: left;
	  margin-bottom: 0rem;
	  margin-top: 0rem;
	}
	/* Title */

	/* main text.multi column */
	.AMText.multi-column {
	  margin: 0;
	}

	.AMText.multi-column p {
	  margin-bottom: 0.8rem;
	}
	/* main text.multi column */

	/* Profile picture */
	.AMImage {
	  margin: 1.5rem 0;
	  max-width: 100%;
	}

	.AMImage figure {
	  margin: 0;
	  width: 100%;
	  height: auto;
	}

	.AMImage img {
	  width: 100%;     
	  height: auto;
	  object-fit: contain;
	  object-position: center;
	}
	/* Profile picture */

	/* Resume */
	.resume .func {
	  width: 100%;
	  max-width: 100%;
	  padding-right: 0;
	  color: #ffffff;
	}

	.resume .func .edu {
	  width: clamp(220px, 30vw, 300px);
	}

	.resume .func div {
	  padding-block: 15px;
	}

	/* CV list text elements*/
	.resume ul,
	.resume li,
	.resume span,
	.resume small {
	  text-align: left;
	  color: rgb(48 0 15);
	}

	.resume .func ul {
	  list-style-type: none;
	  padding: 0;
	  font-size: 16px;
	}

	.resume .func .edu h3 {
	  color: #fffffff;
	  margin: 10px 0;
	  font-size: 1.25em;
	}

	.resume .func h3 i {
	  color: #fffffff;
	  background: #b72b2b;
	  width: 42px;
	  height: 42px;
	  font-size: 20px;
	  line-height: 42px;
	  border-radius: 50%;
	  text-align: center;
	  vertical-align: middle;
	  margin-right: 8px;
	}

	.resume .func .edu small {
	  display: block;
	  opacity: 0.7;
	}

	.resume .func .edu ul li {
	  position: relative;
	  padding-left: 25px;
	  padding-bottom: 15px;
	}

	.resume .func .edu ul li:first-of-type::before {
	  width: 10px;
	  height: 10px;
	  left: 1px;
	}

	.resume .func .edu ul li:last-of-type {
	  padding-bottom: 3px;
	}

	.resume .func .edu ul li:last-of-type::after {
	  border-radius: 1.5px;
	}

	.resume .func .edu ul li::before,
	.resume .func .edu ul li::after {
	  content: "";
	  display: block;
	  position: absolute;
	}

	.resume .func .edu ul li::before {
	  width: 7px;
	  height: 7px;
	  border: 3px solid #ffffff;
	  background: #ffffff;
	  border-radius: 50%;
	  left: 3px;
	  z-index: 1;
	}

	.resume .func .edu ul li::after {
	  width: 3px;
	  height: 100%;
	  background: #ffffff;
	  left: 5px;
	  top: 0;
	}
	/* Resume */

	/* Diva */
	.Diva {
	  margin: 1.5rem 0;
	  max-width: 100%;
	}

	figure.Diva {
	  margin: 0px;
	}

	.Diva figure {
	  margin: 0;
	  width: 100%;
	  height: auto;
	}

	.Diva img {
	  width: 100%;     
	  height: auto;
	  object-fit: contain;
	  object-position: center;
	}
	/* Diva */

	/* Sidebar */
	.sidebar {
	  margin-top: 3rem;
	  margin-bottom: 2rem;
	}
	
	.Sidebar-title {
		margin-top: 0px;
		margin-bottom: 1rem;
	}

	.sidebar-item {
	  break-inside: avoid;
	}

	.sidebar-item h4 {
	  text-align: center;
	  width: 100%;
	  margin-block: auto;
	}

	.sidebar-item p {
	  margin-top: 1rem;
	}

	.sidebar-item figure.Diva {
	  margin-bottom: 0px;
	}

	.sidebar-item.Diva-text {
	  margin-top: 0px;
	  padding-top: 0px;
	}
	/* Sidebar */

	/* Item with image */
	.item-with-image {
	  margin-top: 1.5rem;
	}

	.item-with-image.Mail-Me-Text {
	  margin-top: 0;
	  flex: 1;
	  grid-column: 1 / span 2;
	}

	.item-with-image.Experience-Text {
	  margin-top: 0;
	}

	.item-with-image h4 {
	  text-align: left;
	  margin-bottom: 0.5rem;
	}
	/* Item with image */

	/* cssgrid-collection */
	main .cssgrid-collection {
	  grid-column: 1/-1;
	  grid-row: 9;
	}

	.cssgrid-collection {
	  display: flex;
	  align-content: stretch;
	  border-top: 1px solid;
	  padding-top: 1rem;
	}

	.cssgrid-collection h4 {
	  margin: 0 0 0.8rem;
	}

	.cssgrid-collection__image {
	  flex: 0 0 32%;
	  margin-right: 1.5rem;
	}

	.cssgrid-collection img {
	  height: 100%;
	  object-fit: cover;
	  object-position: left;
	}

	.cssgrid-collection p a {
	  border-bottom: 1px dashed;
	}
	/* cssgrid-collection */

	/* Media 1024px+ */
	@media (min-width: 1024px) {
	  .main__wrapper {
		padding-block: 1rem;
	  }
	  
	  main {
		display: grid;
		grid-template-columns: repeat(4, 1fr) 23%;
		grid-template-rows: repeat(5, auto);
		column-gap: 1.2rem;
	  }

	  main .main-title {
		grid-column: 1/-2;
	  }

	  main .AMImage {
		grid-column: 3/span 2;
	  }

	  main .AMText {
		grid-column: span 2;
	  }

	  main .ContactMe {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		column-gap: 1.2rem; 
	  }

	  main .sidebar {
		grid-row: 2/9;
		grid-column: 5/6;
	  }

	  .Diva {
		margin-top: 0;
	  }

	  .sidebar {
		display: block;
		border-left: 1px solid;
		padding-left: 1.2rem;
		margin: 0;
	  }
	}
	/* Media 1024px+ */

	/* Media 650-1023px */
	@media (min-width: 650px) and (max-width: 1023px) {
	  main {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 1.2rem;
	  }
	  /* .Double-Column is currently not in use */
	  main .Double-Column {
		grid-column: span 4;
		margin: 0 0 1.5rem;
	  }
	  
	  main .ContactMe {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		column-gap: 1.2rem; 
	  }
	  main .sidebar {
		grid-column: 1/-1;
		column-count: 3;
		column-gap: 1.5rem;
		margin-top: 0.5rem;
	  }
	  main .AMText {
		grid-column: span 2;
	  }
	  main .AMImage {
		grid-column: 3/span 2;
		margin: 0 0 1.5rem;
	  }
	  main .main-title {
		grid-column: 1/-1;
	  }

	  .sidebar h3 {
		width: 100%;
		text-align: center;
		margin-top: 0;
		margin-bottom: 1rem;
	  }
	  .sidebar .Update {
		border-top: 0;
		padding-top: 0;
	  }

	  .AMtitle {
		margin: 0;
	  }
	
	  .multi-column {
		column-count: 2;
		column-gap: 1.3rem;
		margin-top: 0.75rem;
	  }

	  .item-with-image {
		margin: 0;
	  }
	}
	/* Media 700-1024px */
	
	/* Media max 650px */
	@media (max-width: 650px) {
		div.sidebar {
			margin-block: 0px;
			margin-bottom:30px;
		}
		
		h3.Sidebar-title {
			text-align: center;
		}
		
		.item-with-image h4 {
			margin-top: 0px;
		}
		
		.ContactMe {
			padding-top: 20px;
		}
		
		.form-container { 
			padding-top: 0.3rem;
		}
		
		.caption {
			text-align: center;
		}
	}
	/* Media max 650px */
	
</style>